/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package snake;

/**
 * @author Administrator
 */
public class GameSetting {

    //默认游戏的帧数
    public static int fps = 30;

    public static final int SECOND = 1000;

    public static int speed = 100;

    //游戏区域开始的坐标X
    public static final int GAME_AREA_START_X = 30;

    //游戏区域开始的坐标Y
    public static final int GAME_AREA_START_Y = 30;

    //游戏区域结束的坐标X
    public static final int GAME_AREA_END_X = 60;

    //游戏区域结束的坐标Y
    public static final int GAME_AREA_END_Y = 60;

    //
    public static final int FRAME_MAX_X = 400;

    public static final int FRAME_MAX_Y = 400;

    public static final int GAME_AREA_MAX_X = FRAME_MAX_X - GAME_AREA_END_X;

    public static final int GAME_AREA_MAX_Y = FRAME_MAX_Y - GAME_AREA_END_Y;

    public static final int SNAKE_PIXEL = 10;
}


